@charset "UTF-8";
@import url("../common/common.css");
@import url("../common/scrollbar_dark.css");
@import url("../common/table_dark.css");

.main-container {
    width: 100%;
    height: calc(100% - 66px);
    display: flex;

    .table-container {
        flex: 1;
        height: 100%;
        padding: 20px 40px;

        .tab-nav {
            height: 40px;
            display: flex;
            margin-bottom: 24px;

            li {
                width: auto;
                height: 40px;
                font-size: 16px;
                line-height: 40px;
                letter-spacing: 1px;
                color: #8c9bae;
                padding: 0 4px;
                cursor: pointer;
                margin-right: 24px;

                &:hover {
                    color: #21e2ff;
                }

                &.active {
                    border-bottom: 2px solid #21e2ff;
                    color: #21e2ff;
                }
            }
        }

        .tab-wrapper {
            width: 100%;
            height: calc(100% - 64px);
            display: flex;
            flex-direction: column;
        }

        .select-wrap {
            .checkbox {
                display: inline-block;
            }

            .text-label {
                color: #ffffff;
            }

            .form-group {
                display: inline-block;
            }

            .form-group+.form-group {
                margin-left: 16px;
            }

            .label-text {
                color: #ffffff;
            }
        }

        .table-wrap {
            width: 100%;
            height: calc(100% - 60px);
            overflow-y: auto;
            background-color: rgba($color: #071b35, $alpha: 0.6);
            border: 1px solid #156a97;
            padding: 16px;

            table {
                tbody tr td {
                    border-bottom: 1px solid rgba($color: #274568, $alpha: 0.8);
                    padding: 10px;
                }


                .rank {
                    width: 27px;
                    height: 27px;
                    line-height: 27px;
                    background-color: #2d4b64;
                    border-radius: 50%;
                    text-align: center;
                    margin-left: 8px;
                }

                .aidicon-timetable {
                    color: #ffcb4d;
                    position: relative;
                    top: 3px;
                    margin-right: 12px;
                }
            }
        }

        .chart-content {
            flex: 1;
            width: 100%;
            height: 100%;
            display: flex;

            #chart1,
            #chart2 {
                flex: 1;
                height: 100%;
                background-color: rgba($color: #071b35, $alpha: 0.8);
                border: 1px solid #156a97;
            }

            #tree1,
            #tree2 {
                flex-shrink: 0;
                margin-left: 24px;
                width: 300px;
                height: 100%;
                background-color: rgba($color: #071b35, $alpha: 0.8);
                border: 1px solid #156a97;
                padding: 24px 16px;

                .title-text {
                    font-size: 16px;
                    color: #ffffff;
                    margin-bottom: 20px;

                    &>a {
                        font-size: 14px;
                        color: #06b6ff;
                        cursor: pointer;
                    }
                }

                .ztree {
                    height: calc(100% - 50px);
                    overflow-y: auto;

                    li>a {
                        color: #c2d1df;

                        &.curSelectedNode {
                            color: #21e2ff;
                        }
                    }
                }

                .ztree_operate_wrapper {
                    position: relative;
                    float: right;
                }

                .ztree li .ztree-operate {
                    position: absolute;
                    top: -8px;
                    right: 15px;
                    margin-left: 10px;
                    height: 30px;
                    line-height: 30px;
                    padding-left: 5px;
                    padding-right: 5px;
                    color: #06b6ff;
                }

                .ztree-operate:hover {
                    color: #06b6ff;
                }
                
                .node_name {
                    width: 120px;
                    display: inline-block;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
        }
    }
}

.formDialog {
    &.idlg-outer {
        background-color: #1a2f42;
    }

    .idlg-header {
        background-color: #1a2f42;
        padding: 12px 16px;

        .idlg-title {
            color: #ffffff;
            font-size: 16px;
            font-weight: normal;
        }
    }

    .idlg-main {
        background-color: #12212f;
        overflow-y: auto;
        padding-bottom: 0 !important;
    }

    .idlg-footer {
        background-color: #1a2f42;
        margin-top: 20px !important;
        padding-bottom: 3px;
    }

    .form-horizon {
        border: none;
    }
}

.select2-dropdown {
    z-index: 99999 !important;
}